const express = require('express'),
      router = express.Router(),
      User = require('./controller/user'),
      Chat = require('./controller/chat')



router.post("/register",User.register)
router.post("/login",User.login)
router.post("/userinfo",User.getUserInfo)
router.post("/chat",Chat.chat)




module.exports = router; 